<?php

$this->widget('ext.pdfgrid.EPDFGrid', array(
    'id'        => 'users',
    'fileName'  => 'users',//File name without extension pdf (.pdf)
    'dataProvider'  => $model->search(),
    'columns'      => array(
        'id',
        'username',
        'fullname',
        'email',
        'last_login',
        'lock_counter',
        'locked'
    ),
    'config'    => array(
        'title'     => Yii::app()->name,
        'subTitle' => 'Users List',
        'colWidths' => array(10, 30, 50, 80, 40),
        'colAligns' => array('C','L','L','L','L','C','C'),
        'headFillColor' => array(130,0,0),
        'headTextColor' => 255,
        'evenFillColor' => array(240,240,240),
        'rowTextColor' => 50
    ),
));

?>